<?php

namespace App\Http\Controllers\Api;

use App\Http\Controllers\Controller;
use App\Rep\BalanceHistoryRep;
use Illuminate\Http\Request;

class BalanceHistory extends Controller
{
    protected $rep;

    public function __construct(Request $request)
    {
        $this->rep = new BalanceHistoryRep();
    }
    //流水账管理
    public function getBalanceHistoryList(Request $request){
        $params = $request->all();
        $data = $this->rep->getBalanceHistoryListRep($params);
        return re(0,$data,'success');
    }
}
